#include <iostream>
#include "HeadFiles/log.h"

int main()
{
    // for (int i = 0; i < 5; i++)
    // {
    //     if (i % 2 == 0)
    //         continue;
    //     Log("Loops are amazing!");
    //     std::cout << i << std::endl;
    // }

    // for (int i = 0; i < 5; i++)
    // {
    //     if (i > 2)
    //         break;
    //     Log("Loops are amazing!");
    //     std::cout << i << std::endl;
    // }

    for (int i = 0; i < 5; i++)
    {
        if (i > 2)
            return 0;
        Log("Loops are amazing!");
        std::cout << i << std::endl;
    }

    Log("=======================");

    int j = 0;
    bool condition = true;

    for (; condition;)
    {
        Log("Loops are amazing!");
        j++;
        if (!(j < 5))
            condition = false;
    }

    Log("=======================");

    int i = 0;
    while (i < 5)
    {
        Log("while is fun!");
        i++;
    }
    std::cin.get();
}